package com.recursiveflow.shared.view.shapes 
{    import flash.display.DisplayObjectContainer;
    import flash.display.Shape;    
    /**     * @author alastair     */    public class Lozenge extends Background 
    {        private static const CORNER_RADIUS : Number = 25;                public function Lozenge(parent : DisplayObjectContainer, w : Number, h : Number, colour : Number = 0x000000, alpha : Number = 1) 
        {
        	super(parent, w, h, colour);
        }
        
        protected override function draw(w : Number, h : Number, colour : Number, alpha : Number) : void
        {
        	graphics.beginFill(colour, alpha);
        	graphics.drawRoundRect(0, 0, w, h, CORNER_RADIUS, CORNER_RADIUS);
            graphics.endFill();
        }
    }}